package com.okq.entity;

import com.okq.entity.base.DataEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 描述 : 工单产品处理历史表实体类
 * 作者 : zdl
 * 日期 : 2017/6/27 17:27
 */
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "tb_job_product_history")
public class JobProductHistory extends DataEntity implements Serializable {
    private static final long serialVersionUID = -8672344050836821425L;
    /**
     * 工单产品Id
     */
    @Column(name = "jpId", length = 40)
    private String jpId;
    /**
     * 处理信息
     */
    @Column(name = "dealInfo")
    private String dealInfo;
    /**
     * 处理人
     */
    @Column(name = "dealName")
    private String dealName;

    public String getJpId() {
        return jpId;
    }

    public void setJpId(String jpId) {
        this.jpId = jpId;
    }

    public String getDealInfo() {
        return dealInfo;
    }

    public void setDealInfo(String dealInfo) {
        this.dealInfo = dealInfo;
    }

    public String getDealName() {
        return dealName;
    }

    public void setDealName(String dealName) {
        this.dealName = dealName;
    }
}
